package com.consul.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yinxing
 * @date 2022-08-15
 */
@RestController
public class TestOneController {

    @RequestMapping("/one")
    @LoginAuth
    public String one() {
        return "one";
    }

    @RequestMapping("/two")
    public String two() {
        return "two";
    }
}
